package a.j;

import a.c.d;
import a.c.e;
import a.c.w;
import a.j.a.j;

import java.util.ArrayList;
import java.util.BitSet;
import java.util.Iterator;
import java.util.NoSuchElementException;

public class nb
  implements jc
{
  private static final Iterator i = new Iterator()
  {
    public boolean hasNext()
    {
      return false;
    }
    
    public Object next()
    {
      throw new NoSuchElementException();
    }
    
    public void remove()
    {
      throw new UnsupportedOperationException();
    }
  };
  private boolean j = false;
  private boolean l = true;
  private boolean m = false;
  public static boolean n;
  
  public boolean a()
  {
    return this.j;
  }
  
  public void a(boolean paramBoolean)
  {
    this.j = paramBoolean;
  }
  
  public boolean b()
  {
    return this.l;
  }
  
  public void b(boolean paramBoolean)
  {
    this.l = paramBoolean;
  }
  
  public boolean c()
  {
    return this.m;
  }
  
  public void c(boolean paramBoolean)
  {
    this.m = paramBoolean;
  }
  
  public Iterator a(g paramg, int paramInt)
  {
    return a(paramg, paramInt, true);
  }
  
  public Iterator b(g paramg, int paramInt)
  {
    return a(paramg, paramInt, false);
  }
  
  private Iterator a(g paramg, int paramInt, boolean paramBoolean)
  {
    boolean bool = ld.E;
    j localj = j.a(paramg);
    if (!bool) {
      if ((paramInt & 0x51) != 0)
      {
        if (bool) {
          break label211;
        }
        if ((paramInt & 0x2E) != 0)
        {
          if (!bool) {
            if ((localj != null) && ((bool) || (this.m)))
            {
              if (!bool) {
                if (this.j)
                {
                  if (paramBoolean) {
                    return new g_(paramg, localj, paramInt);
                  }
                  return new f_(paramg, localj, paramInt);
                }
              }
              if (paramBoolean) {
                return new i_(paramg, localj, paramInt);
              }
              return new h_(paramg, localj, paramInt);
            }
          }
          if (localj != null) {
            if (this.l) {
              return new rc.f_(new c_(paramg, localj, paramInt, paramBoolean), new d_(paramg, paramInt, paramBoolean), this.j ^ paramBoolean);
            }
          }
          return new rc.f_(new c_(paramg, paramInt, paramBoolean), new d_(paramg, paramInt, paramBoolean), this.j ^ paramBoolean);
        }
      }
    }
    label211:
    if (!bool) {
      if ((paramInt & 0x51) != 0)
      {
        if ((localj != null) && (this.l)) {
          return new c_(paramg, localj, paramInt, paramBoolean);
        }
        return new c_(paramg, paramInt, paramBoolean);
      }
    }
    if ((paramInt & 0x2E) != 0) {
      return new d_(paramg, paramInt, paramBoolean);
    }
    return i;
  }
  
  private static abstract interface b_
  {
    public abstract boolean a();
  }
  
  static class i_
    extends nb.e_
  {
    i_(g paramg, j paramj, int paramInt)
    {
      super(paramj, paramInt);
    }
    
    void c()
    {
      this.g.add(new c_());
    }
    
    private final class b_
      implements nb.b_
    {
      private final e a;
      
      b_(e parame)
      {
        this.a = parame;
      }
      
      public boolean a()
      {
        nb.i_.this.a(this.a);
        return true;
      }
    }
    
    private final class a_
      implements nb.b_
    {
      private final a.c.m a;
      private final e b;
      
      a_(e parame)
      {
        this.b = parame;
        this.a = parame.n();
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        do
        {
          do
          {
            if (!this.a.e()) {
              break;
            }
            if (bool1) {
              break label116;
            }
            if (!nb.i_.this.c.isEmpty()) {
              break;
            }
            d locald = this.a.a();
            if (!bool2)
            {
              if (!locald.g())
              {
                if (bool2) {
                  continue;
                }
                if (nb.i_.this.f.get(locald.f().f())) {
                  nb.i_.this.a(locald);
                }
              }
              this.a.f();
            }
          } while (!bool1);
        } while (bool2);
        if (!this.a.e()) {
          label116:
          nb.i_.this.f.set(this.b.f());
        }
        if (!bool2) {}
        return !this.a.e();
      }
    }
    
    private final class e_
      implements nb.b_
    {
      private final a.c.m a;
      
      e_(e parame)
      {
        this.a = parame.m();
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        label90:
        do
        {
          do
          {
            if (!this.a.e()) {
              break;
            }
            if (bool1) {
              break label116;
            }
            if (!nb.i_.this.c.isEmpty()) {
              break;
            }
            d locald = this.a.a();
            if (!bool2) {
              if (!nb.i_.this.f.get(locald.e().f()))
              {
                if (bool2) {
                  continue;
                }
                if (!locald.g()) {
                  break label90;
                }
              }
            }
            nb.i_.this.a(locald);
            this.a.f();
          } while (!bool1);
        } while (bool2);
        label116:
        return !this.a.e();
      }
    }
    
    private final class d_
      implements nb.b_
    {
      private final ArrayList a;
      private int b;
      
      d_(ArrayList paramArrayList)
      {
        this.a = paramArrayList;
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        int i = 0;
        int j = this.a.size();
        do
        {
          do
          {
            if (this.b >= j) {
              break;
            }
            if (bool2) {
              break label243;
            }
            if (bool1) {
              break label240;
            }
            if (!nb.i_.this.c.isEmpty()) {
              break;
            }
            e locale = (e)this.a.get(this.b);
            nb.i_.a_ locala_ = new nb.i_.a_(nb.i_.this, locale);
            nb.i_.this.g.add(locala_);
            i = 1;
            nb.i_.e_ locale_ = new nb.i_.e_(nb.i_.this, locale);
            int k = nb.i_.this.g.size();
            nb.i_.this.g.add(locale_);
            if (!bool2)
            {
              if (locale_.a())
              {
                nb.i_.this.g.remove(k);
                if (bool2) {
                  continue;
                }
                if (nb.i_.this.c.isEmpty())
                {
                  if (bool2) {
                    continue;
                  }
                  if (locala_.a())
                  {
                    nb.i_.this.g.remove(nb.i_.this.g.size() - 1);
                    i = 0;
                  }
                }
              }
              this.b += 1;
            }
          } while (!bool1);
        } while (bool2);
        label240:
        if (this.b > j - 1) {
          label243:
          if (bool2) {}
        }
        return i == 0;
      }
    }
    
    private final class c_
      implements nb.b_
    {
      private final Iterator a = nb.i_.this.d.j(nb.i_.this.d.f(nb.i_.this.a));
      private ArrayList b = new ArrayList();
      
      c_() {}
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        int i = 0;
        Object localObject;
        do
        {
          int k;
          do
          {
            nb.i_.b_ localb_;
            do
            {
              if (!this.a.hasNext()) {
                break;
              }
              if (bool2) {
                break label266;
              }
              if (!nb.i_.this.c.isEmpty()) {
                break;
              }
              localObject = (e)this.a.next();
              localb_ = new nb.i_.b_(nb.i_.this, (e)localObject);
              k = nb.i_.this.g.size();
              nb.i_.this.g.add(localb_);
              if (!bool2)
              {
                if (nb.i_.this.d.m((e)localObject))
                {
                  if (bool2) {
                    continue;
                  }
                  if (!this.b.isEmpty())
                  {
                    nb.i_.d_ locald_ = new nb.i_.d_(nb.i_.this, this.b);
                    int m = nb.i_.this.g.size();
                    if (!bool2)
                    {
                      nb.i_.this.g.add(locald_);
                      i = 1;
                      if (locald_.a())
                      {
                        nb.i_.this.g.remove(m);
                        i = 0;
                      }
                    }
                    this.b = new ArrayList();
                  }
                }
                this.b.add(localObject);
              }
            } while (i != 0);
            if ((bool2) || (bool1)) {
              break label271;
            }
          } while (!localb_.a());
          if (bool2) {
            break label266;
          }
          nb.i_.this.g.remove(k);
        } while (!bool1);
        label266:
        if (!this.a.hasNext())
        {
          label271:
          if (bool2) {
            break label376;
          }
          if (!this.b.isEmpty())
          {
            localObject = new nb.i_.d_(nb.i_.this, this.b);
            int j = nb.i_.this.g.size();
            if (!bool2)
            {
              nb.i_.this.g.add(localObject);
              i = 1;
              if (((nb.i_.d_)localObject).a())
              {
                nb.i_.this.g.remove(j);
                i = 0;
              }
            }
            this.b = new ArrayList();
          }
        }
        label376:
        if ((bool2) || (!this.a.hasNext())) {
          if (bool2) {}
        }
        return i == 0;
      }
    }
  }
  
  static class h_
    extends nb.e_
  {
    h_(g paramg, j paramj, int paramInt)
    {
      super(paramj, paramInt);
    }
    
    void c()
    {
      this.g.add(new d_());
    }
    
    private final class b_
      implements nb.b_
    {
      private final a.c.m a;
      
      b_(e parame)
      {
        this.a = parame.n();
        this.a.i();
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        do
        {
          do
          {
            if (!this.a.e()) {
              break;
            }
            if (bool1) {
              break label116;
            }
            if (!nb.h_.this.c.isEmpty()) {
              break;
            }
            d locald = this.a.a();
            if (!bool2)
            {
              if (!locald.g())
              {
                if (bool2) {
                  continue;
                }
                if (!nb.h_.this.f.get(locald.f().f())) {
                  nb.h_.this.b(locald);
                }
              }
              this.a.g();
            }
          } while (!bool1);
        } while (bool2);
        label116:
        return !this.a.e();
      }
    }
    
    private final class a_
      implements nb.b_
    {
      private final a.c.m a;
      
      a_(e parame)
      {
        this.a = parame.m();
        this.a.i();
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        label90:
        do
        {
          do
          {
            if (!this.a.e()) {
              break;
            }
            if (bool1) {
              break label116;
            }
            if (!nb.h_.this.c.isEmpty()) {
              break;
            }
            d locald = this.a.a();
            if (!bool2) {
              if (nb.h_.this.f.get(locald.e().f()))
              {
                if (bool2) {
                  continue;
                }
                if (!locald.g()) {
                  break label90;
                }
              }
            }
            nb.h_.this.b(locald);
            this.a.g();
          } while (!bool1);
        } while (bool2);
        label116:
        return !this.a.e();
      }
    }
    
    private final class c_
      implements nb.b_
    {
      private final ArrayList a;
      private int b;
      
      c_(ArrayList paramArrayList)
      {
        this.a = paramArrayList;
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        int i = this.a.size();
        do
        {
          do
          {
            if (this.b >= i) {
              break;
            }
            if (bool2) {
              break label96;
            }
            if (bool1) {
              break label93;
            }
            if (!nb.h_.this.c.isEmpty()) {
              break;
            }
            e locale = (e)this.a.get(this.b);
            nb.h_.this.c(locale);
            this.b += 1;
          } while (!bool1);
        } while (bool2);
        label93:
        label96:
        return this.b > i - 1;
      }
    }
    
    private final class d_
      implements nb.b_
    {
      private final Iterator a = nb.h_.this.d.k(nb.h_.this.d.f(nb.h_.this.a));
      private ArrayList b = new ArrayList();
      
      d_() {}
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        int i = 0;
        Object localObject1;
        do
        {
          int n;
          do
          {
            do
            {
              int k;
              do
              {
                Object localObject2;
                do
                {
                  nb.h_.b_ localb_;
                  int m;
                  do
                  {
                    if (!this.a.hasNext()) {
                      break;
                    }
                    if (bool2) {
                      break label405;
                    }
                    if (!nb.h_.this.c.isEmpty()) {
                      break;
                    }
                    localObject1 = (e)this.a.next();
                    nb.h_.this.f.set(((e)localObject1).f());
                    this.b.add(localObject1);
                    if ((bool2) || ((nb.h_.this.d.m((e)localObject1)) && (!this.b.isEmpty())))
                    {
                      localObject2 = new nb.h_.c_(nb.h_.this, this.b);
                      nb.h_.this.g.add(localObject2);
                      i++;
                      this.b = new ArrayList();
                    }
                    localObject2 = new nb.h_.a_(nb.h_.this, (e)localObject1);
                    k = nb.h_.this.g.size();
                    nb.h_.this.g.add(localObject2);
                    i++;
                    localb_ = new nb.h_.b_(nb.h_.this, (e)localObject1);
                    m = nb.h_.this.g.size();
                    nb.h_.this.g.add(localb_);
                    i++;
                  } while (!localb_.a());
                  nb.h_.this.g.remove(m);
                  i--;
                  if ((bool2) || (bool1)) {
                    break label410;
                  }
                } while (!nb.h_.this.c.isEmpty());
                if (bool2) {
                  break;
                }
              } while (!((nb.h_.a_)localObject2).a());
              nb.h_.this.g.remove(k);
              i--;
            } while (((!bool2) && (i <= 0)) || ((!bool2) && (!nb.h_.this.c.isEmpty())));
            n = nb.h_.this.g.size() - 1;
            if (bool2) {
              break;
            }
          } while (!((nb.b_)nb.h_.this.g.get(n)).a());
          if (bool2) {
            break label405;
          }
          nb.h_.this.g.remove(n);
          i--;
        } while (!bool1);
        label405:
        if (!this.a.hasNext())
        {
          label410:
          if (bool2) {
            break label517;
          }
          if (!this.b.isEmpty())
          {
            localObject1 = new nb.h_.c_(nb.h_.this, this.b);
            int j = nb.h_.this.g.size();
            if (!bool2)
            {
              nb.h_.this.g.add(localObject1);
              i++;
              if (((nb.h_.c_)localObject1).a())
              {
                nb.h_.this.g.remove(j);
                i--;
              }
            }
            this.b = new ArrayList();
          }
        }
        label517:
        if ((bool2) || (!this.a.hasNext())) {
          if (bool2) {}
        }
        return i == 0;
      }
    }
  }
  
  static class g_
    extends nb.e_
  {
    private final e h = this.d.f(this.a);
    
    g_(g paramg, j paramj, int paramInt)
    {
      super(paramj, paramInt);
    }
    
    void c()
    {
      this.g.add(new c_(null));
    }
    
    private final class e_
      implements nb.b_
    {
      private final e a;
      private final a.c.m b;
      
      e_(e parame1, e parame2)
      {
        this.a = parame1;
        this.b = parame2.n();
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        do
        {
          do
          {
            if (!this.b.e()) {
              break;
            }
            if (bool1) {
              break label156;
            }
            if (!nb.g_.this.c.isEmpty()) {
              break;
            }
            d locald = this.b.a();
            e locale = nb.g_.this.d.p(locald.f());
            if (!bool2)
            {
              if (!locald.g())
              {
                if ((!bool2) && ((locale != nb.g_.this.h) && (bool2))) {
                  continue;
                }
                if ((nb.g_.this.f.get(locale.f())) && (locale != this.a)) {
                  nb.g_.this.a(locald);
                }
              }
              this.b.f();
            }
          } while (!bool1);
        } while (bool2);
        label156:
        return !this.b.e();
      }
    }
    
    private final class b_
      implements nb.b_
    {
      private final a.c.m a;
      
      b_(e parame)
      {
        this.a = parame.m();
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        label112:
        label116:
        do
        {
          do
          {
            if (!this.a.e()) {
              break;
            }
            if (bool1) {
              break label143;
            }
            if (!nb.g_.this.c.isEmpty()) {
              break;
            }
            d locald = this.a.a();
            e locale = nb.g_.this.d.p(locald.e());
            if (locale != nb.g_.this.h)
            {
              if (bool2) {
                break label112;
              }
              if (!nb.g_.this.f.get(locale.f()))
              {
                if (bool2) {
                  continue;
                }
                if (!locald.g()) {
                  break label116;
                }
              }
            }
            nb.g_.this.a(locald);
            this.a.f();
          } while (!bool1);
        } while (bool2);
        label143:
        return !this.a.e();
      }
    }
    
    private final class a_
      implements nb.b_
    {
      private final e a;
      private final w b;
      
      a_(e parame)
      {
        this.a = parame;
        this.b = nb.g_.this.d.r(parame);
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        int i = 0;
        do
        {
          do
          {
            if (!this.b.e()) {
              break;
            }
            if (bool1) {
              break label231;
            }
            if (!nb.g_.this.c.isEmpty()) {
              break;
            }
            e locale = this.b.d();
            nb.g_.e_ locale_ = new nb.g_.e_(nb.g_.this, this.a, locale);
            nb.g_.this.g.add(locale_);
            i = 1;
            nb.g_.b_ localb_ = new nb.g_.b_(nb.g_.this, locale);
            int j = nb.g_.this.g.size();
            nb.g_.this.g.add(localb_);
            if (!bool2)
            {
              if (localb_.a())
              {
                nb.g_.this.g.remove(j);
                if (bool2) {
                  continue;
                }
                if (nb.g_.this.c.isEmpty())
                {
                  if (bool2) {
                    continue;
                  }
                  if (locale_.a())
                  {
                    nb.g_.this.g.remove(nb.g_.this.g.size() - 1);
                    i = 0;
                  }
                }
              }
              this.b.f();
            }
          } while (!bool1);
        } while (bool2);
        if (!this.b.e()) {
          label231:
          if (bool2) {}
        }
        return i == 0;
      }
    }
    
    private final class d_
      implements nb.b_
    {
      private final Iterator a = nb.g_.this.d.j(nb.g_.this.h);
      
      d_() {}
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        int i = 0;
        do
        {
          int j;
          do
          {
            e locale;
            do
            {
              if (!this.a.hasNext()) {
                break;
              }
              if (bool2) {
                break label176;
              }
              if (!nb.g_.this.c.isEmpty()) {
                break;
              }
              locale = (e)this.a.next();
              nb.g_.this.f.set(locale.f());
              nb.g_.this.a(locale);
            } while (!nb.g_.this.d.m(locale));
            nb.g_.a_ locala_ = new nb.g_.a_(nb.g_.this, locale);
            j = nb.g_.this.g.size();
            nb.g_.this.g.add(locala_);
            i = 1;
            if ((bool2) || (bool1)) {
              break label181;
            }
          } while (!locala_.a());
          if (bool2) {
            break label176;
          }
          nb.g_.this.g.remove(j);
          i = 0;
        } while (!bool1);
        label176:
        if (!this.a.hasNext()) {
          label181:
          if (bool2) {}
        }
        return i == 0;
      }
    }
    
    private final class c_
      implements nb.b_
    {
      private c_() {}
      
      public boolean a()
      {
        nb.g_.this.g.add(new nb.g_.d_(nb.g_.this));
        nb.g_.this.g.add(new nb.g_.a_(nb.g_.this, nb.g_.this.h));
        return true;
      }
      
      c_(nb.0 param0)
      {
        this();
      }
    }
  }
  
  static class f_
    extends nb.e_
  {
    private final e h = this.d.f(this.a);
    
    f_(g paramg, j paramj, int paramInt)
    {
      super(paramj, paramInt);
    }
    
    void c()
    {
      this.g.add(new b_(null));
    }
    
    private final class e_
      implements nb.b_
    {
      private final e a;
      
      e_(e parame)
      {
        this.a = parame;
      }
      
      public boolean a()
      {
        nb.f_.this.f.set(this.a.f());
        nb.f_.this.c(this.a);
        return true;
      }
    }
    
    private final class d_
      implements nb.b_
    {
      private final e a;
      private final a.c.m b;
      
      d_(e parame1, e parame2)
      {
        this.a = parame1;
        this.b = parame2.n();
        this.b.i();
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        do
        {
          do
          {
            if (!this.b.e()) {
              break;
            }
            if (bool1) {
              break label156;
            }
            if (!nb.f_.this.c.isEmpty()) {
              break;
            }
            d locald = this.b.a();
            e locale = nb.f_.this.d.p(locald.f());
            if (!bool2)
            {
              if (!locald.g())
              {
                if ((!bool2) && ((locale != nb.f_.this.h) && (bool2))) {
                  continue;
                }
                if ((!nb.f_.this.f.get(locale.f())) && (locale != this.a)) {
                  nb.f_.this.b(locald);
                }
              }
              this.b.g();
            }
          } while (!bool1);
        } while (bool2);
        label156:
        return !this.b.e();
      }
    }
    
    private final class c_
      implements nb.b_
    {
      private final a.c.m a;
      
      c_(e parame)
      {
        this.a = parame.m();
        this.a.i();
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        label112:
        label116:
        do
        {
          do
          {
            if (!this.a.e()) {
              break;
            }
            if (bool1) {
              break label143;
            }
            if (!nb.f_.this.c.isEmpty()) {
              break;
            }
            d locald = this.a.a();
            e locale = nb.f_.this.d.p(locald.e());
            if (locale != nb.f_.this.h)
            {
              if (bool2) {
                break label112;
              }
              if (nb.f_.this.f.get(locale.f()))
              {
                if (bool2) {
                  continue;
                }
                if (!locald.g()) {
                  break label116;
                }
              }
            }
            nb.f_.this.b(locald);
            this.a.g();
          } while (!bool1);
        } while (bool2);
        label143:
        return !this.a.e();
      }
    }
    
    private final class a_
      implements nb.b_
    {
      private final e a;
      private final w b;
      
      a_(e parame)
      {
        this.a = parame;
        this.b = nb.f_.this.d.r(parame);
        this.b.i();
      }
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        int i = 0;
        do
        {
          do
          {
            if (!this.b.e()) {
              break;
            }
            if (bool1) {
              break label231;
            }
            if (!nb.f_.this.c.isEmpty()) {
              break;
            }
            e locale = this.b.d();
            nb.f_.c_ localc_ = new nb.f_.c_(nb.f_.this, locale);
            nb.f_.this.g.add(localc_);
            i = 1;
            nb.f_.d_ locald_ = new nb.f_.d_(nb.f_.this, this.a, locale);
            int j = nb.f_.this.g.size();
            nb.f_.this.g.add(locald_);
            if (!bool2)
            {
              if (locald_.a())
              {
                nb.f_.this.g.remove(j);
                if (bool2) {
                  continue;
                }
                if (nb.f_.this.c.isEmpty())
                {
                  if (bool2) {
                    continue;
                  }
                  if (localc_.a())
                  {
                    nb.f_.this.g.remove(nb.f_.this.g.size() - 1);
                    i = 0;
                  }
                }
              }
              this.b.g();
            }
          } while (!bool1);
        } while (bool2);
        if (!this.b.e()) {
          label231:
          if (bool2) {}
        }
        return i == 0;
      }
    }
    
    private final class g_
      implements nb.b_
    {
      private final Iterator a = nb.f_.this.d.k(nb.f_.this.h);
      
      g_() {}
      
      public boolean a()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        int i = 0;
        do
        {
          int j;
          do
          {
            nb.f_.e_ locale_;
            do
            {
              if (!this.a.hasNext()) {
                break;
              }
              if (bool2) {
                break label228;
              }
              if (!nb.f_.this.c.isEmpty()) {
                break;
              }
              e locale = (e)this.a.next();
              locale_ = new nb.f_.e_(nb.f_.this, locale);
              j = nb.f_.this.g.size();
              nb.f_.this.g.add(locale_);
              if (!bool2) {
                if (nb.f_.this.d.m(locale))
                {
                  nb.f_.a_ locala_ = new nb.f_.a_(nb.f_.this, locale);
                  int k = nb.f_.this.g.size();
                  nb.f_.this.g.add(locala_);
                  i = 1;
                  if (bool2) {
                    continue;
                  }
                  if (locala_.a())
                  {
                    nb.f_.this.g.remove(k);
                    i = 0;
                  }
                }
              }
            } while (i != 0);
            if ((bool2) || (bool1)) {
              break label233;
            }
          } while (!locale_.a());
          if (bool2) {
            break label228;
          }
          nb.f_.this.g.remove(j);
        } while (!bool1);
        label228:
        if (!this.a.hasNext()) {
          label233:
          if (bool2) {}
        }
        return i == 0;
      }
    }
    
    private final class b_
      implements nb.b_
    {
      private b_() {}
      
      public boolean a()
      {
        nb.f_.this.g.add(new nb.f_.a_(nb.f_.this, nb.f_.this.h));
        nb.f_.this.g.add(new nb.f_.g_(nb.f_.this));
        return true;
      }
      
      b_(nb.0 param0)
      {
        this();
      }
    }
  }
  
  private static abstract class e_
    extends rc.g_
  {
    final j d;
    BitSet f;
    ArrayList g;
    
    e_(g paramg, j paramj, int paramInt)
    {
      super(paramInt);
      this.d = paramj;
    }
    
    void a()
    {
      this.c = new ArrayList();
      this.g = new ArrayList();
      this.f = new BitSet(this.a.k());
      c();
    }
    
    void b()
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      do
      {
        do
        {
          int i;
          nb.b_ localb_;
          do
          {
            if (!this.c.isEmpty()) {
              break;
            }
            if ((!bool2) && (this.g.isEmpty())) {
              break;
            }
            i = this.g.size() - 1;
            localb_ = (nb.b_)this.g.get(i);
          } while (!localb_.a());
          this.g.remove(i);
        } while (bool2);
      } while (!bool1);
    }
    
    abstract void c();
  }
  
  private static final class c_
    extends rc.g_
  {
    private final Iterator d;
    private final boolean f;
    
    c_(g paramg, j paramj, int paramInt, boolean paramBoolean)
    {
      this(paramg, paramBoolean ? paramj.j(paramj.f(paramg)) : paramj.k(paramj.f(paramg)), paramInt, paramBoolean);
    }
    
    c_(g paramg, int paramInt, boolean paramBoolean)
    {
      this(paramg, paramBoolean ? a.i.m.a(paramg.v()) : a.i.m.b(paramg.v()), paramInt, paramBoolean);
    }
    
    private c_(g paramg, Iterator paramIterator, int paramInt, boolean paramBoolean)
    {
      super(paramInt);
      this.d = paramIterator;
      this.f = paramBoolean;
    }
    
    void b()
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      label77:
      do
      {
        e locale;
        do
        {
          if ((!this.c.isEmpty()) || ((!bool2) && (!this.d.hasNext()))) {
            return;
          }
          locale = (e)this.d.next();
          if (bool2) {
            break label77;
          }
          if (!this.f) {
            break;
          }
          a(locale);
          if (bool2) {
            break label77;
          }
        } while (!bool1);
        c(locale);
      } while (!bool1);
    }
  }
  
  private static final class d_
    extends rc.g_
  {
    private final a.c.m d;
    private final boolean f;
    
    d_(g paramg, int paramInt, boolean paramBoolean)
    {
      super(paramInt);
      this.d = paramg.w();
      if (!ld.E)
      {
        this.f = paramBoolean;
        if (paramBoolean) {}
      }
      else
      {
        this.d.i();
      }
    }
    
    void b()
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      label92:
      do
      {
        d locald;
        do
        {
          if ((!this.c.isEmpty()) || ((!bool2) && (!this.d.e()))) {
            return;
          }
          locald = this.d.a();
          if (bool2) {
            break label92;
          }
          if (!this.f) {
            break;
          }
          this.d.f();
          a(locald);
          if (bool2) {
            break label92;
          }
        } while (!bool1);
        this.d.g();
        b(locald);
      } while (!bool1);
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.nb

 * JD-Core Version:    0.7.0.1

 */